package com.minsu.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("price_history")
public class PriceHistory {
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    private String listingId;
    private BigDecimal price;
    private LocalDate date;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
} 